#if !defined(AFX_CSYSTEMDATADLG_H__1A446836_3C64_4D2E_8FAF_D7B4FAC14685__INCLUDED_)
#define AFX_CSYSTEMDATADLG_H__1A446836_3C64_4D2E_8FAF_D7B4FAC14685__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// CSystemDataDlg.h : header file
//
#include "Util\MinLabel.h"
#include "Util\MinButton.h"

/////////////////////////////////////////////////////////////////////////////
// SystemDataDlg dialog
#define	ALL_SYS_BUTTON		21
#define	ALL_SYS_LABEL		21

// Control Layer
// Process Layer
class IAutoManager;


class CSystemData;
class CDMControlCenter;
class CLogData;
class CUVTimeData;

class CSystemDataDlg : public CDialog
{
private:
	CSystemData* m_lnkSystemData;
	CLogData*	m_lnkLogData;
	CUVTimeData* m_lnkUVTotalTime;
	void ChangePassword();


// Construction
public:
	char m_szTmp[100];
	void PointSelect(int sel=0);
	void Display(BOOL change=TRUE);
	CSystemDataDlg(IAutoManager* pAM,CSystemData* pSystemData, CDMControlCenter* pDMCC, CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CSystemDataDlg)
	enum { IDD = IDD_SYSTEMDATA_DLG };
	CMinButton	m_bSave;
	CMinButton	m_bExit;
	CMinButton	m_bPasswdChange;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSystemDataDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation

protected:
	char m_cBufGet[50];
	char m_cbuf[50];
	
	double m_tmpDouble[ALL_SYS_BUTTON];
	CMinLabel	m_sData[ALL_SYS_LABEL];
	CMinButton	m_bButton[ALL_SYS_BUTTON];
	

	// Generated message map functions
	//{{AFX_MSG(CSystemDataDlg)
	afx_msg void OnSave();
	virtual void OnCancel();
	afx_msg void OnChangePasswd();
	afx_msg void OnSystem0();
	afx_msg void OnSystem1();
	afx_msg void OnSystem2();
	afx_msg void OnSystem3();
	afx_msg void OnSystem4();
	afx_msg void OnSystem5();
	afx_msg void OnSystem6();
	afx_msg void OnSystem7();
	afx_msg void OnSystem8();
	afx_msg void OnSystem9();
	afx_msg void OnSystem10();
	afx_msg void OnSystem11();
	virtual BOOL OnInitDialog();
	afx_msg void OnSystem12();
	afx_msg void OnSystem13();
	afx_msg void OnSystem14();
	afx_msg void OnSystem15();
	afx_msg void OnSystem16();
	afx_msg void OnSystem17();
	afx_msg void OnSystem18();
	afx_msg void OnSystem19();
	afx_msg void OnSystem20();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_CSYSTEMDATADLG_H__1A446836_3C64_4D2E_8FAF_D7B4FAC14685__INCLUDED_)
